@echo off
:: This batch file calls notepad++ from the correct install location based on
::     the currently logged in username. If ma-simulation1 is logged in, it
::     executes the local copy. Otherwise, it attempts to execute my network-
::     stored copy instead.
if "%USERNAME%" == "MA-SIMULATION1" (
"C:\Program Files (x86)\Notepad++\notepad++.exe" %*
) else (
"Z:\Notepad++\notepad++.exe" %*
)